unit CVSPasswdFm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, XPMenu;

type
  TCVSPasswdForm = class(TForm)
    Label1: TLabel;
    txtPass: TEdit;
    btnOK: TButton;
    Label2: TLabel;
    XPMenu: TXPMenu;
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  CVSPasswdForm: TCVSPasswdForm;

implementation

uses devcfg;

{$R *.dfm}

procedure TCVSPasswdForm.FormShow(Sender: TObject);
begin
  if devData.XPTheme then
    XPMenu.Active := true
  else
    XPMenu.Active := false;
  txtPass.Text := '';
  txtPass.SetFocus;
end;

end.

